import Layout from '../views/layout/Layout'

const _import = require('./_import_' + process.env.NODE_ENV);

export default {
  path: '/advice',
  component: Layout,
  name: 'advice',
  meta: {title: '意见反馈', icon: 'icon', roles: [1, 2, 3, 4, 5, 6, 7, 8]},
  children: [
    {
      path: 'list',
      component: _import('advice/list/index'),
      name: 'adviceList',
      meta: {
        title: '意见反馈', icon: 'icon',
        buttons: {
          view: { label: '查看', enabled: true },
          operate: { label: '回复/撤回', enabled: true }
        }
      },
    }
  ]
}
